package com.sistemas.mse.dao;


import java.util.List;
import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.sistemas.mse.model.Product;


public interface  IProductDAO {
    Product findOne(long id);

    List<Product> findAll();

    void create(Product entity);

    Product update(Product entity);

    void delete(Product entity);

    void deleteById(long entityId);
}